package com.ft.core.service.dto;

import com.ft.core.utils.validate.NotNullAndEmpty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @copyright (C), 2015-2019, XXX有限公司
 * @fileName: OneRelationalMoreLongIdInput
 * @author: 李阳
 * @date: 2019/6/26 14:28
 * @description: 一对多或一对零关系输入对象
 * @history: <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
@Getter
@Setter
public class OneRelationalMoreLongIdInput extends BaseDto {
    private static final long serialVersionUID = -3029360447237622935L;

    @ApiModelProperty(value = "oneId", required = true)
    @NotNullAndEmpty(message = "oneId不可为空")
    private Long oneId;

    @ApiModelProperty(value = "moreIds")
    private List<Long> moreIds;
}
